
package com.market.web.action;

import com.market.bean.Customer;

public class AdminCusDelAction extends BaseAction2
{
    public String execute() throws Exception
    {
        long id = getLong( "cusid");
        Customer cus = getCustomerService().FindById(id);
        if (cus != null)
        {
            getCustomerService().delete(cus);
        }
        return "adminCusSearch";
        //return mapping.findForward("adminCusSearch");
    }
}
